<?php require('../include/connectdb.php');?>

<table align="center" class="dataTable">
	<tr>
		<td  width="250px">Name</td>
		<td  colspan="2" width="100px">Action</td>
	</tr>
	<?php
		$sql="select * from user";
		$res=mysql_query($sql);
		while($r=mysql_fetch_array($res)){
	?>
	<tr>
		<td ><?php echo $r['name']; ?></td>
		<td ><a href="main.php?page=duser&ID=<?php echo $r['id']; ?>"><img src="../image/icon/delete.png" /></a></td>
		<td ><a href="main.php?page=euser&ID=<?php echo $r['id']; ?>"><img src="../image/icon/edit.png" /></a></td>
	</tr>
	<?php } ?>
</table>

